package avicit.bdp.dgs.qa.dto;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * @金航数码科技有限责任公司
 * @作者：developer
 * @邮箱：developer@avic-digital.com
 * @创建时间： 2023-09-24
 * @类说明：FtdpFileDTO
 * @修改记录：
 * @注意事项：
 * @主要功能：试飞文件DTO
 */
@Entity
public class FtdpFileDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @Id
    @ApiModelProperty(value = "主键")
    private String id;

    /**
     * 文件名称
     */
    @ApiModelProperty(value = "名称", name = "name")
    private String name;

    /**
     * 类型：0--文件
     */
    @ApiModelProperty(value = "类型：0--文件；", name = "type")
    private Integer type;

    /**
     * 文件大小
      */
    @ApiModelProperty(value = "文件大小", name = "size")
    private Long size;

    /**
     * 文件后缀
     */
    @ApiModelProperty(value = "文件后缀", name = "fileSuffix")
    private String fileSuffix;

    /**
     * 父ID
     */
    @ApiModelProperty(value = "父ID", name = "pid")
    private String pid;

    /**
     * 全文件名
     */
    @ApiModelProperty(value = "全文件名", name = "fullName")
    private String fullName;

    /**
     * 是否目录 0--文件；1--目录
     */
    @ApiModelProperty(value = "是否目录 0--文件；1--目录", name = "directory")
    private Integer directory;

    /**
     * 状态：0--上传中；1--上传成功；2--上传失败；3--计算中；4--计算成功；5--计算失败
     */
    @ApiModelProperty(value = "状态：0--上传中；1--上传成功；2--上传失败；3--计算中；4--计算成功；5--计算失败")
    private Integer status;

    /**
     * 状态：0--停用；1--启用；
     */
    @ApiModelProperty(value = "状态：0--停用；1--启用；")
    private Integer enable;

    /**
     * 创建时间；
     */
    @ApiModelProperty(value = "创建时间")
    private Date creationDate;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getFileSuffix() {
        return fileSuffix;
    }

    public void setFileSuffix(String fileSuffix) {
        this.fileSuffix = fileSuffix;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public Integer getDirectory() {
        return directory;
    }

    public void setDirectory(Integer directory) {
        this.directory = directory;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }
}
